package edu.ts.crowdfunding.product.service;

import edu.ts.crowdfunding.product.domain.PO.ConditionalQueryPO;
import edu.ts.crowdfunding.product.domain.PO.ProductPO;
import edu.ts.crowdfunding.product.domain.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.ts.crowdfunding.utils.Result;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【project】的数据库操作Service
* @createDate 2025-06-25 09:44:16
*/
public interface ProductService extends IService<Product> {

    Result pageSearch(Integer pageNum, Integer pageSize, ConditionalQueryPO conditionalQueryPO);

    Result add(ProductPO productPO);

    Product getProductRef(Long id);

    void deleteProductById(Long id);
}
